package com.dtream.nacos.openfeig;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "nacos-payment-provider-test", fallback = RemoteHystrix.class)
public interface RemoteClient {

    @GetMapping(value = "/echo/{string}")
    public String echo(@PathVariable(name = "string") String string);

    @GetMapping(value = "/getPort")
    public String getPort();


}
